<h2 align="center">Daftar Mata Kuliah</h2>
<div class="btn-toolbar">
    <a class="btn btn-primary" href="<?php echo URL; ?>akademik/add_makul">Tambah Data Mata Kuliah</a>
</div>
<div>
    <table class="table table-striped table-bordered" id="example">

        <thead>
            <tr>
                <th>Kode Mata Kuliah</th>
                <th>Nama Mata Kuliah</th>
                <th>Universitas</th>
                <th>Action</th>
    <!--                <th style="width: 50px;"></th>-->
            </tr>
        </thead>
        <tbody>
            <?php
            foreach ($this->list_makul as $key => $value) {
                echo '<tr>';
                echo '<td>' . $value['1'] . '</td>';
                echo '<td>' . $value['2'] . '</td>';
                echo '<td>' . $value['4'] . '</td>';
                echo '<td>
                    <a href="' . URL . 'akademik/edit_makul/' . $value['0'] . '"><i class = "icon-pencil"></i></a>
                    <a href="' . URL . 'akademik/delete_makul/' . $value['0'] . '"><i class = "icon-remove"></i></a>
                    
                    </td>';

                echo '</tr>';
            }
            ?>
        </tbody>
    </table>
</div>



